<!--
 * @Author: levi7754 levi7754@163.com
 * @Date: 2025-04-23 15:32:04
 * @LastEditors: levi7754 levi7754@163.com
 * @LastEditTime: 2025-07-11 14:20:59
 * @FilePath: \ut-mall-uniapp\src\sheep\ui\su-status-bar\su-status-bar.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <view :style="{ height: statusBarHeight }" class="uni-status-bar"><slot /></view>
</template>

<script setup>
  import sheep from '@/sheep';
  import { computed } from 'vue';

  const statusBarHeight = sheep.$platform.device.statusBarHeight + 'px';
</script>
<style lang="scss">
  .uni-status-bar {
    // width: 750rpx;
    height: var(--status-bar-height);
    background-color: #EA0D2C;
  }
</style>
